package com.yourname.xhs.view;

import com.yourname.xhs.controller.UserController;
import com.yourname.xhs.controller.UserControllerImpl;

public class AdminHomePage {


    public static void main() throws Exception {

        UserControllerImpl uci = new UserControllerImpl();
        while (true) {
            System.out.println("-----------------------");
            System.out.println("0、个人信息\t    1、发布通告  2、退出登录");
            System.out.println("3、查看用户信息\t4、删除用户笔记 \t5、删除通告");
            System.out.println("-----------------------");
            System.out.println("请输入命令：");
            uci.Admin();                              //与Controller交互
        }

    }
}